﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tetris
{
    class Node
    {

        public int X { get; set; }
        public int Y { get; set; }

        public Node(GameField gameField)
        {
            X = (gameField.X + 4);
            Y = gameField.Y - 1;
        }


        public void MoveDown()
        { Y++; }

        public void MoveLeft()
        { X--; }

        public void MoveRight()
        { X++; }
                


    }
}
